<script>
export default {
  onLaunch: function() {
    console.log('App 初始化完成');
    uni.$on('tabChange', function(data) {
      console.log('全局获取事件');
    });
  },
  onShow: function() {
    console.log('App 显示');
  },
  onHide: function() {
    console.log('App 隐藏');
  }
};
</script>

<style lang="scss">
/* 每个页面公共css */
@import 'styles/iconfont.css';
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
</style>
